#ifndef CONTROLMANAGER_HPP
#define CONTROLMANAGER_HPP

#include <ctype.h>
#include <iostream>

class ControlManager {
private:
    bool keyState[256];
    bool mouseButtonState[8];
    bool specialKeyState[256];

public:
    ControlManager();

    bool doAction();
    bool goDown();
    bool goLeft();
    bool goRight();
    bool goUp();
    bool jump();
    void keyDown(unsigned char key);
    void keyUp(unsigned char key);
    bool menuNext();
    bool menuPrevious();
    bool menuSelect();
    void mouseButtonDown(int button);
    void mouseButtonUp(int button);
    bool openMenu();
    void specialKeyDown(int key);
    void specialKeyUp(int key);
    bool zoomIn();
    bool zoomOut();
};

#endif
